import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import {Lazypage1Component} from "./lazypage1/lazypage1.component";
import {Lazypage2Component} from "./lazypage2/lazypage2.component";

const routes: Routes = [
  {
    path: "lazypage1",
    component: Lazypage1Component
  },
  {
    path: "lazypage2",
    component: Lazypage2Component
  }
]
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class LazyRoutingModule { }
